package Library;
import java.io.Serializable;
/**
 * 
 */

/**
 * @author mishel hen
 *
 */
/**
 * This class is the Loans
 */
public class Loans implements Serializable{
	/**
	 * loanId
	 */
	private int loanId;
	/**
	 * readerId
	 */
	private int readerId;
	/**
	 * loanDate
	 */
	private String loanDate;
	/**
	 * returnDate
	 */
	private String returnDate;
	/**
	 * copyId
	 */
	private int copyId;
	
/**
* Constructs an instance of Loans.
*/
public Loans() {
	// TODO Auto-generated constructor stub
}


/**
 * @param loanId
 * @param readerId
 * @param loanDate
 * @param returnDate
 * @param copyId
 */
public Loans(int loanId, int readerId, String loanDate, String returnDate,
		int copyId) {
	super();
	this.loanId = loanId;
	this.readerId = readerId;
	this.loanDate = loanDate;
	this.returnDate = returnDate;
	this.copyId = copyId;
}


/**
 * @return the loanId
 */
public int getLoanId() {
	return loanId;
}


/**
 * @param loanId the loanId to set
 */
public void setLoanId(int loanId) {
	this.loanId = loanId;
}


/**
 * @return the readerId
 */
public int getReaderId() {
	return readerId;
}


/**
 * @param readerId the readerId to set
 */
public void setReaderId(int readerId) {
	this.readerId = readerId;
}


/**
 * @return the loanDate
 */
public String getLoanDate() {
	return loanDate;
}


/**
 * @param loanDate the loanDate to set
 */
public void setLoanDate(String loanDate) {
	this.loanDate = loanDate;
}


/**
 * @return the returnDate
 */
public String getReturnDate() {
	return returnDate;
}


/**
 * @param returnDate the returnDate to set
 */
public void setReturnDate(String returnDate) {
	this.returnDate = returnDate;
}


/**
 * @return the copyId
 */
public int getCopyId() {
	return copyId;
}


/**
 * @param copyId the copyId to set
 */
public void setCopyId(int copyId) {
	this.copyId = copyId;
}



}